package com.hxy.subject.domain.convert;

import com.hxy.subject.domain.entity.SubjectMultipleBO;
import com.hxy.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/8 19:34
 */
@Mapper
public interface SubjectMultipleConverter {
    SubjectMultipleConverter INSTANCE = Mappers.getMapper(SubjectMultipleConverter.class);

    SubjectMultiple subjectMultipleBoToMultiple(SubjectMultipleBO bo);

    List<SubjectMultipleBO> subjectMultipleToBoList(List<SubjectMultiple> list);
}
